/*************************************************
*                                                *
*  EasyBMP Cross-Platform Windows Bitmap Library *
*                                                *
*  Author: Paul Macklin                          *
*   email: macklin01@users.sourceforge.net       *
* support: http://easybmp.sourceforge.net        *
*                                                *
*          file: EasyBMP_VariousBMPutilities.h   *
*    date added: 05-02-2005                      *
* date modified: 12-01-2006                      *
*       version: 1.06                            *
*                                                *
*   License: BSD (revised/modified)              *
* Copyright: 2005-6 by the EasyBMP Project       *
*                                                *
* description: Various utilities.                *
*                                                *
*************************************************/

#ifndef _EasyBMP_VariousBMPutilities_h_
#define _EasyBMP_VariousBMPutilities_h_

void EBMP_GetBMFH(BMFH_HANDLE handle, const char* szFileNameIn );
BMIH EBMP_GetBMIH( const char* szFileNameIn );
void EBMP_DisplayBitmapInfo( const char* szFileNameIn );
int EBMP_GetBitmapColorDepth( const char* szFileNameIn );
void EBMP_PixelToPixelCopy( BMP& From, int FromX, int FromY,
                       BMP& To, int ToX, int ToY);
void EBMP_PixelToPixelCopyTransparent( BMP& From, int FromX, int FromY,
                                  BMP& To, int ToX, int ToY,
                                  EBMP_RGBApixel& Transparent );
void EBMP_RangedPixelToPixelCopy( BMP& From, int FromL , int FromR, int FromB, int FromT,
                             BMP& To, int ToX, int ToY );
void EBMP_RangedPixelToPixelCopyTransparent(
    BMP& From, int FromL , int FromR, int FromB, int FromT,
    BMP& To, int ToX, int ToY ,
    EBMP_RGBApixel& Transparent );
bool EBMP_CreateGrayscaleColorTable( BMP& InputImage );

bool EBMP_Rescale( BMP& InputImage , char mode, int NewDimension );

#endif
